package com.engine4cloud.tdf.education.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.engine4cloud.tdf.common.data.web.response.PageInfo;
import com.engine4cloud.tdf.common.data.web.response.Params;
import com.engine4cloud.tdf.education.dto.create.EduLearningRecordCreateDTO;
import com.engine4cloud.tdf.education.dto.query.EduLearningRecordAppQueryDTO;
import com.engine4cloud.tdf.education.dto.query.EduLearningRecordQueryDTO;
import com.engine4cloud.tdf.education.dto.result.EduLearningRecordResultDTO;
import com.engine4cloud.tdf.education.entity.EduLearningRecordEntity;

public interface EduLearningRecordService extends IService<EduLearningRecordEntity> {

    PageInfo<EduLearningRecordResultDTO> pageList(Params page, EduLearningRecordQueryDTO dto);

    PageInfo<EduLearningRecordResultDTO> recordPageList(EduLearningRecordAppQueryDTO dto);

    EduLearningRecordResultDTO getById(Long id);

    Boolean create(EduLearningRecordCreateDTO dto);

}